package com.bestv.search.common.dao;

import com.bestv.search.common.model.SubType;

import java.util.List;

public interface SubTypeDao extends GenericDao<SubType, Long> {

    List<SubType> getSubTypes();

    SubType getSubTypeById(Long id);

    SubType getSubTypeByName(String name);

    SubType saveSubType(SubType subType);

    List<SubType> getComm();
}
